package com.yxt.admin.exception.user;

import com.yxt.common.exception.BizCodeEnume;
import com.yxt.common.utils.MessageUtils;

/**
 * 验证码错误异常类
 * 
 */
public class CaptchaException extends UserException
{
    private static final long serialVersionUID = 1L;

    public CaptchaException(BizCodeEnume resultEnum)
    {
      //  super("user.jcaptcha.error", null);
        super(resultEnum.getCode(), MessageUtils.message(resultEnum.getMsg()), null);
    }
}
